repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
321 - The New Villa (Grafos, BFS, bitwise)
[andmenj-acm.git]
/
11116 - Babel towers
/
ProblemSet-Contest
/
compIn
/
cfrac.in
blob
1c3ef6be3584d5e9d0817ef8d5a82be93a1d625b
1
2 1
\r
2
12 5
\r
3
75 34
\r
4
146625 66470
\r
5
65 60
\r
6
16 8
\r
7
12 6
\r
8
100 3
\r
9
1000 34
\r
10
1805 65
\r
11
123456789 23456789
\r
12
55 34
\r
13
514229 317811
\r
14
514229 2854
\r
15
2592 677
\r
16
362769 94751
\r
17
109640009 28636682
\r
18
779499191 203596029
\r
19
7125132728 1861000943
\r
20
253187 82442
\r
21
1800921 586411
\r
22
6002467 1954507
\r
23
138946 9263
\r
24
9999999999 9999999998
\r
25
0 0
\r